package com.example.myapplication2048.datamodel;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.IntStream;

public class TextViewModel {
    private List<Textinfo> dataItemList = new ArrayList<>();

    public TextViewModel() {
        IntStream.range(0,2)
                .forEach(index->dataItemList.add(
                        new Textinfo("llt")));
    }
    public List<Textinfo> getDataItemList() {
        return dataItemList;
    }
}
